package com.sys.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sys.common.utils.PageUtils;
import com.sys.product.entity.SpuInfoEntity;
import com.sys.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author yangjs
 * @email catalpa65@163.com
 * @date 2020-11-09 21:03:00
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    //条件检索
    PageUtils queryPageByCondition(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params);

    //发布商品接口
    void saveSpuInfo(SpuSaveVo vo);

    //保存spu基本信息 pms_spu_info
    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    //商品上架
    void upSpuForSearch(Long spuId);
}

